home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_5
/
spc32020.ads
< prev
next >
Wrap
Text File
|
1995-08-04
|
10KB
|
237 lines
Amiga Distribution System-- Long Description File
ADS Zone: 1
ADS Hatch Site: Don Plesky
ADS Position: ADS Zone 1 Coordinator
BBS Name: EastPointe Amiga BBS
Phone Number(s): 810-773-6959
Network Address: 1:120/229
Network Region: 11
BBS Hours: 24 Hrs/Day
BBS Mailer/Software: DLG Trapdoor/PDQmail
BBS Storage Space: 2 Gig
File Requestable : <X> Y < > N
File Request Hours : All The Time
==========================================
Long Description
==========================================
Short: R1.2 of Analog Ckt. Simulator (020/FPU)
Author: uhenric@mcl.ucsb.edu
Uploader: uhenric@mcl.ucsb.edu
Type: misc/sci
Distribution: NoCD
Spice3f5 Amiga Release 1.2
spice3f5r2_000.lha
Spice with IEEE math for any CPU.
spice3f5r2_020.lha
Spice with inline FPU math for 020+
What is this?
This is a full port of Spice3f5. All device models and analyses in the
3f5 distribution have been included. The full simulator has been built,
but the stand-alone "nutmeg" has not (nutmeg is spice without any
simulation capabilities). "proc2mod" and "multidec" have been included
and seem to generate reasonable output.
The previous version was called "spice3f4", but the patches I had already
applied to it made it identical to 3f5 (with the exception of the patch
number).
What's new?
-- CTRL-C works as it should (mostly).
-- pz analysis with IEEE math did not work properly. This was the result
of a bug in C='s IEEEDPCmp(). I would imagine this could cause other
problems as well.
-- Experimental new pz search method. (I think. I re-enabled some stuff
Berkeley had commented out and debugged it.)
Requirements
-- AmigaOS 2 or better.
-- A few megs of ram. (I don't know really. The full executable is about
a megabyte.)
Installation
Just decompress it. It's ready to run. No silly assigns or anything!
(Well, maybe add the "bin" directory to you path. Renaming the binaries
saves some typing as well.)
As a quick "getting started" guide, see the file "spice.transcript".
If you are tight on memory, try the "lite" version of the executable. It
does not contain some device models, and the more esoteric analyses are
not supported.
In the 000 archive, there is a patch to the IEEE libraries in the
directory "ieee_fix". Just follow the the instructions inside. This is
not included with the 020+ executables, but it's probably a good idea to
fix the problem anyway (the patch is avail. separately on aminet as
"ieee_fix.lha").
Documentation
For spice in general...
Online help is available with the "help" command. An AmigaGuide version
of the same document can be found in the directory "SpiceGuide" (courtesy
Ron Charlton). The alias "aghelp" is defined in the initialization file
(lib/scripts/spinit). It will load the .guide file from the location
specified in the spinit file; see the "spinit" file to set the path to
match your configuration.
The full docs in PostScript format are available by anonymous ftp from
"ic.eecs.berkeley.edu" or "ilpsoft.eecs.berkeley.edu". This site also
contains more example circuits.
For this port...
There is a plot screen that opens behind your other screens. The fact
that LAmiga-M/N can be used to flip screens will probably be useful.
I have added a few new variables:
hcopylinewidth -- When this variable is set, PostScript output will
contain a "setlinewidth" directive. This makes
screenwidth -- If these are not set, then Intuition will pick some
screenheight reasonable values for you.
screendepth -- If this is not set, then the depth will be copied
from the default public screen (Note: Spice will
not use more than 20 colors, so I limit the depth
copied from the default public screen to 5
bit-planes. However, a depth specified in the
"screendepth" variable will _not_ be altered in
any way; it is passed directly to OpenScreen().)
screenmode -- This is a hexadecimal number that is passed to
OpenScreenTags() as the DisplayID. When this
variable is not set, the DisplayID is copied from
the default public screen.
fontname -- Take a wild guess.... like the others if either
fontheight or both are not set then defaults will be used
(XEN.font/8, if anybody is curious).
See the file "lib/scripts/spinit" for more information about these
variables.
Known problems
Spice makes sure that the stack is 64k or greater, but this is not always
enough. If you have a crash, try setting the stack larger. If it still
crashes, please send me a copy of the source file.
Repeated uses of "iplot" in the same session seem to have odd results.
Nothing explodes, but the resulting graphs are rather strange at times.
The internal pager could be a little more clever about the size of the
shell window.
There is apparently a bug in OpenScreen that causes the default system
font to be closed when OpenScreen fails. This is not a problem as long as
the total number of "open" instances of that font is greater than the
number of failed "OpenScreenTags()" calls.
Notes
The 020+ executables were actually optimized for the 040. I have been
assured by the SAS folks that the executables will run just fine on the
68020 and the 68030.
Spice expects some files to be in "progdir:/lib" so if you move files
around, keep this in mind. Some AmigaDOS magic makes "progdir:" point to
there directory where the program is located. (If spice doesn't find these
files then it will complain, but all should work anyway--except for the
online help). You can change where the program looks for the help file
with a "set helppath=a:b/c/d". The "spinit" file is a good place to put
this.
All the executables are "pure" and can be made resident (one must either
use "resident <filename> pure" or set the "p" bit on the executables since
"lha" does not preserve the pure bit); however, if you make spice resident
then "progdir:" does not work. To get around this problem use the
environment variables (as in "the stuff in ENV:"):
setenv SPICE_LIB_DIR "wherever:you/wantyour/lib/dir/to/be"
setenv SPICE_EXEC_DIR "where:the/spice/executable/is"
There are other environment variables that spice looks for, including:
SPICE_NEWS, SPICE_HELP_DIR (this is another way to deal with the problem
described in the previous paragraph), SPICE_SCRIPTS, SPICE_EDITOR,
SPICE_ASCIIRAWFILE.
If you have the environment variable "HOME" set, then "cd" will change the
current directory to $HOME when given a null argument.
And Thanks to...
-- SAS for making a great compiler.
-- Those of you who have taken the time to write with both compliments and
complaints. (Sorry. No names. If you really want you name to appear
here then contact me; I'm not comfortable identifying anybody without
their permission. )
History
1.0 (Initial release)
1.1
-- Added new variable "hcopydevwidth" because PostScript output looked
like it was drawn with crayons.
-- Updated physical constants to Nov. 86 CODATA Bulletin (not that a couple
parts per million matter, but the FPU will be using all it's bits anyway,
so why not?)
-- Commented out all "ScreenToFront()" and "ScreenToBack()" calls. You have
to find the plot yourself now, but I think it much less annoying.
-- Fixed a problem with "sourcepath". The "source" command will now try
looking in the current directory.
-- Screen colors are now set to something more reasonable (not perfect yet).
-- Fixed a minor problem with Smith plots. This required rewriting some
more of Berkeley's wonderful code. ...and this led to a little problem in
my own code... and then to some more in Berkeley's.
-- Plots now use JAM1 instead of JAM2.
-- The "slowplot" variable is not ignored anymore (i.e., it works).
-- New screen variables: "screenwidth", "screenheight", "screendepth", and
"screenmode"
-- The current directory is now restored upon exit (if it was ever changed)
-- Added version strings to all executables.
-- Plotting real vectors on polar plots used to fake complex vectors by
using the real value for both the real and imaginary parts. The imaginary
part is now set to zero instead.
1.2
-- Much better CTRL-C handling (other than simply exiting).
-- Fixed a problem with pz searches. I made the algorithm more robust should
it screw up; in the process I ran into a bug in the C= IEEE libraries (The
_real_ cause of the problem.).
-- Fixed a little problem when the screen font and the plot font were not the
same height.
-- Added variables to control fonts: "fontname" and "fontheight".
-- "Press return..." prompting now appears on both the plot screen and in the
console window.
-- Added experimental variable to control pz analysis: "pzniterlim" and
"pzusesym2". They don't seem to do much...
-- CR-LF combinations in source files should no longer cause confusion.
-- ASRC model working much better now (Enforcer hits appear to be gone).
-- Fixed Enforcer hit when setting some variables ("program"/"rawfile").
-- Recompiled without "NOVM" flag, yielding much better convergence (at least
for the ltra examples).
Suggestions and Bugs to...
Henric Jungheim <uhenric@mcl.ucsb.edu>